package com.jsmtr.rms.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Clob;
import java.util.Date;

/**
 * @author: cyx
 * @description:
 * @date: Created in 2019/1/3 14:13
 * @modified by:
 */
@Entity
@Table(name = "USERAPPEND")
public class UserAppend {
    @Id
    @Column(nullable = false, length = 55)
    private String id; //主键

    @Column(nullable = true, length = 250)
    private String filename; // 附件名称

    @Column(nullable = true, length = 250)
    private String filepath; // 附件路径

    @Column(nullable = true, length = 250)
    private String filesize; //附件大小

    @Column(nullable = true, length = 50)
    private String rid; //简历ID

    @Column(nullable = true)
    private Clob filecontent; //附件内容

    @Column(nullable = true)
    private Date createtime; //创建时间

    @Column(nullable = true, length = 50)
    private String cardno;//身份证号

    @Column(nullable = true)
    private String type;//附件类型，1-学籍，2-工作业绩

    @Column(nullable = true)
    private Integer state; //文件状态，1-正常，0-删除

    @Column(nullable = true)
    private String realname;

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getFilename() {
        return this.filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getFilepath() {
        return this.filepath;
    }

    public void setFilepath(String filepath) {
        this.filepath = filepath;
    }

    public String getFilesize() {
        return this.filesize;
    }

    public void setFilesize(String filesize) {
        this.filesize = filesize;
    }

    public String getRid() {
        return this.rid;
    }

    public void setRid(String rid) {
        this.rid = rid;
    }

    public Clob getFilecontent() {
        return this.filecontent;
    }

    public void setFilecontent(Clob filecontent) {
        this.filecontent = filecontent;
    }

    public Date getCreatetime() {
        return this.createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getCardno() {
        return this.cardno;
    }

    public void setCardno(String cardno) {
        this.cardno = cardno;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}
